package com.wilschrader.demarche.units;

import com.wilschrader.demarche.Unit;

/**
 * A cruiser is a fast, cheap, somewhat powerful attack unit.
 * 
 * @author Wil Schrader
 * @modifications
 * 	08152011	Updates for the unified unit class.
 * 
 */
public class Cruiser extends Unit {

	public Cruiser(int cost, int combatValue, int capacity, boolean sustainDamage) {
		super(Unit.Type.Cruiser, cost, new int[]{combatValue}, new int[]{1}, capacity, sustainDamage);
	}
	
	public Cruiser(int cost, int combatValue, boolean sustainDamage) {
		this(cost, combatValue, 0, sustainDamage);
	}
	
	public Cruiser(int cost, int combatValue) {
		this(cost, combatValue, 0, false);
	}
	
	@Override
	public Cruiser clone() throws CloneNotSupportedException {
		return new Cruiser(cost, combatValue[0], sustainsDamage);
	}
}
